﻿using System;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;
using SqlSugar;

namespace NP.BPMReportPlatform.HSE.Dto
{
    [ExcelExporter(Name = "HSE信息系统配置和数据变更审批", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class GetHSEDataChangeOutput
    {
        /// <summary>
        /// 流程状态
        /// </summary>
        [ExporterHeader(DisplayName = "流程状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        [ExporterHeader(DisplayName = "流程编号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        [ExporterHeader(DisplayName = "申请时间")]
        public DateTime? ProcessStartTime { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string ProcessStartUserName { get; set; }

        /// <summary>
        /// 单据详情链接
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }

        /// <summary>
        /// 申请人工号
        /// </summary>
        [ExporterHeader(DisplayName = "申请人工号")]
        public string AddUserWorkNumber { get; set; }

        /// <summary>
        /// 区域
        /// </summary>
        [ExporterHeader(DisplayName = "区域")]
        public string Area { get; set; }

        /// <summary>
        /// 工厂代码
        /// </summary>
        [ExporterHeader(DisplayName = "工厂代码")] 
        public string FactoryCode { get; set; }

        /// <summary>
        /// 工厂名称
        /// </summary>
        [ExporterHeader(DisplayName = "工厂名称")] 
        public string FactoryName { get; set; }

        /// <summary>
        /// 工厂代码NP缩写
        /// </summary>
        [ExporterHeader(DisplayName = "工厂代码NP缩写")] 
        public string FactoryCodeNP { get; set; }

        /// <summary>
        /// 事业群
        /// </summary>
        [ExporterHeader(DisplayName = "事业群")] 
        public string BusinessGroup { get; set; }

        /// <summary>
        ///  问题类别
        /// </summary>
        [ExporterHeader(DisplayName = "问题类别")] 
        public string OperateType { get; set; }

        /// <summary>
        ///  修改数据模块
        /// </summary>
        [ExporterHeader(DisplayName = "修改数据模块")] 
        public string EditDateModule { get; set; }

        /// <summary>
        ///  数据所属日期
        /// </summary>
        [ExporterHeader(DisplayName = "数据所属日期")] 
        public string DateOfData { get; set; }

        /// <summary>
        ///  内容描述
        /// </summary>
        [ExporterHeader(DisplayName = "内容描述")] 
        public string Content { get; set; }

    }
}